package com.lzlclass.conf;

import com.zaxxer.hikari.HikariConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;


//自定义配置
@Configuration
@Import({HikariConfig.class})//导入类的模型，导入后直接放入容器
public class MyConf {

    @Autowired
    HikariConfig myJdbc;

}
